package adapterPackage;

import java.util.ArrayList;
import java.util.List;

import systemPackage.MainSystem;

import dataTypesPackage.Ulke;

public class UlkeAdapter {
	public static List<Ulke> getAllulke(){
		List<Object> objectList = MainSystem.getAll(Ulke.class);
		//as all getAll functions, we have to cast to according class
		List<Ulke> ulkeList = new ArrayList<Ulke>();
		for(Object temp:objectList){
			ulkeList.add((Ulke)temp);
		}
		return ulkeList;
	}
}
